package com.zhou.springcloud.cousumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

/**
 * @author zhouyongjun
 * @date 2021/3/2015:08
 * @Description:
 */
@SpringBootApplication
@EnableEurekaClient
//配置feign 启动，basePackages扫描包
@EnableFeignClients(basePackages = {"com.zhou.springcloud"})
@ComponentScan({"com.zhou.springcloud","com.zhou.springcloud.api.serivce"})
public class DeptFeign_80 {
    public static void main(String[] args) {
        SpringApplication.run(DeptFeign_80.class,args);
    }
}
